package com.js.purs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购商品信息对象 pur_prod_info
 *
 * @author lzq
 * @date 20240617
 */
public class PurProdInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 采购商品编号
     */
    private Long prodInfoId;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String prodId;

    private String prodName;

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    /**
     * 预算编号
     */
    @Excel(name = "预算编号")
    private String bgId;

    /**
     * 需求数量
     */
    @Excel(name = "需求数量")
    private Long reqNumber;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String size;

    /**
     * 税率
     */
    @Excel(name = "税率")
    private BigDecimal taxRate;

    /**
     * 预算单价
     */
    @Excel(name = "预算单价")
    private BigDecimal bdgSinglePrice;

    /**
     * 预算总价
     */
    @Excel(name = "预算总价")
    private BigDecimal bdgTotlePrice;

    /**
     * 交付时间
     */

    private String delvTime;


    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 需求说明
     */
    @Excel(name = "需求说明")
    private String prodExplain;

    /**
     * 采购人
     */
    @Excel(name = "采购人")
    private String purchaser;

    /**
     * 创建时间
     */
    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setProdInfoId(Long prodInfoId) {
        this.prodInfoId = prodInfoId;
    }

    public Long getProdInfoId() {
        return prodInfoId;
    }

    public void setProdId(String prodId) {
        this.prodId = prodId;
    }

    public String getProdId() {
        return prodId;
    }

    public void setBgId(String bgId) {
        this.bgId = bgId;
    }

    public String getBgId() {
        return bgId;
    }

    public void setReqNumber(Long reqNumber) {
        this.reqNumber = reqNumber;
    }

    public Long getReqNumber() {
        return reqNumber;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getSize() {
        return size;
    }

    public void setTaxRate(BigDecimal taxRate) {
        this.taxRate = taxRate;
    }

    public BigDecimal getTaxRate() {
        return taxRate;
    }

    public void setBdgSinglePrice(BigDecimal bdgSinglePrice) {
        this.bdgSinglePrice = bdgSinglePrice;
    }

    public BigDecimal getBdgSinglePrice() {
        return bdgSinglePrice;
    }

    public void setBdgTotlePrice(BigDecimal bdgTotlePrice) {
        this.bdgTotlePrice = bdgTotlePrice;
    }

    public BigDecimal getBdgTotlePrice() {
        return bdgTotlePrice;
    }

    public void setDelvTime(String delvTime) {
        this.delvTime = delvTime;
    }

    public String getDelvTime() {
        return delvTime;
    }


    public void setProdExplain(String prodExplain) {
        this.prodExplain = prodExplain;
    }

    public String getProdExplain() {
        return prodExplain;
    }

    public void setPurchaser(String purchaser) {
        this.purchaser = purchaser;
    }

    public String getPurchaser() {
        return purchaser;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("prodInfoId", getProdInfoId())
                .append("prodId", getProdId())
                .append("bgId", getBgId())
                .append("reqNumber", getReqNumber())
                .append("size", getSize())
                .append("taxRate", getTaxRate())
                .append("bdgSinglePrice", getBdgSinglePrice())
                .append("bdgTotlePrice", getBdgTotlePrice())
                .append("delvTime", getDelvTime())
                .append("prodExplain", getProdExplain())
                .append("purchaser", getPurchaser())
                .append("createTime", getCreateTime())
                .toString();
    }
}
